From: Michael Albinus Date: Thu, 19 Sep 2013 19:14:26 +0000 (+0200) Subject: Fix previous patch. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~3102 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e189e54eea9d4317c484e534cfbce0bcfb4046ce;p=emacs.git Fix previous patch. --- diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index def19e99515..4bc836b88d5 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el @@ -5000,7 +5000,8 @@ Return ATTR." (tramp-get-remote-uid-with-perl vec id-format)) ((tramp-get-remote-python vec) (tramp-get-remote-uid-with-python vec id-format)) - (t (tramp-error vec "Cannot determine remote uid"))))) + (t (tramp-error + vec 'file-error "Cannot determine remote uid"))))) ;; The command might not always return a number. (if (and (equal id-format 'integer) (not (integerp res))) -1 res)))) @@ -5040,7 +5041,8 @@ Return ATTR." (tramp-get-remote-gid-with-perl vec id-format)) ((tramp-get-remote-python vec) (tramp-get-remote-gid-with-python vec id-format)) - (t (tramp-error vec "Cannot determine remote gid"))))) + (t (tramp-error + vec 'file-error "Cannot determine remote gid"))))) ;; The command might not always return a number. (if (and (equal id-format 'integer) (not (integerp res))) -1 res))))